package cc.geguol.tcpserver.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import cc.geguol.tcpserver.pojo.Account;

@Mapper //mapper_scan 已经指定到这里了所以还是要加的好么
public interface AccountDao {
    int insert(@Param("pojo") Account pojo);

    int insertSelective(@Param("pojo") Account pojo);

    int insertList(@Param("pojos") List<Account> pojo);

    int update(@Param("pojo") Account pojo);
}
